package nc.ui.nft.pub.proxy;

import nc.bs.framework.common.NCLocator;
import nc.itf.nft.account.tallyquery.INFTTallyQuery;
import nc.itf.nft.pub.formular.INFTImportFile;
import nc.itf.nft.pub.formular.INFTFormulaParse;
import nc.itf.nft.pub.pubitf.INFTAccountFloatInterest;
import nc.itf.nft.pub.pubitf.INFTFloatInterest;
import nc.itf.nft.pub.pubitf.INFTPub;
import nc.itf.nft.pub.pubitf.INFTXqjx;

public class ProxyEjb
{
	public static INFTPub getIFTPub()
	{
		try
		{
			return (INFTPub) NCLocator.getInstance().lookup(
					INFTPub.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}

	public static INFTFormulaParse getINFTFormulaParse()
	{
		try
		{
			return (INFTFormulaParse) NCLocator.getInstance().lookup(
					INFTFormulaParse.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}

	public static INFTTallyQuery getINFTTallyQuery()
	{
		try
		{
			return (INFTTallyQuery) NCLocator.getInstance().lookup(
					INFTTallyQuery.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}

	public static INFTImportFile getIImportFile()
	{
		try
		{
			return (INFTImportFile) NCLocator.getInstance().lookup(
					INFTImportFile.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}
	
	public static INFTFloatInterest getFloatInterest(){
		
		try
		{
			return (INFTFloatInterest) NCLocator.getInstance().lookup(
					INFTFloatInterest.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
		
	}
	public static INFTAccountFloatInterest getAccountFloatInterest(){
		try{
			return (INFTAccountFloatInterest) NCLocator.getInstance().lookup(
					INFTAccountFloatInterest.class.getName());
		}catch(Exception e){
			e.printStackTrace();
			 return null;
		}
	}
	public static INFTXqjx getXqjx(){
		try
		{
			return (INFTXqjx) NCLocator.getInstance().lookup(
					INFTXqjx.class.getName());
		} catch (Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}
	/*
	 * public static IFTHgyw getIFTHgyw() { try { return (IFTHgyw)
	 * NCLocator.getInstance().lookup( IFTHgyw.class.getName()); } catch
	 * (Exception e) { e.printStackTrace(); return null; } }
	 * 
	 * 
	 * 
	 * public static IFTTZ getIFTTZ() { try { return (IFTTZ)
	 * NCLocator.getInstance().lookup( IFTTZ.class.getName()); } catch
	 * (Exception e) { e.printStackTrace(); return null; } }
	 * 
	 * 
	 * 
	 * 
	 * 
	 * public static IFloatInterest getIFloatInterest(){ try { return
	 * (IFloatInterest) NCLocator.getInstance().lookup(
	 * IFloatInterest.class.getName()); } catch (Exception e) {
	 * e.printStackTrace(); return null; } }
	 * 
	 * public static IInterestComplete getIInterestComplete(){ try { return
	 * (IInterestComplete) NCLocator.getInstance().lookup(
	 * IInterestComplete.class.getName()); } catch (Exception e) {
	 * e.printStackTrace(); return null; } }
	 */
}
